Loans API icon

Loans API

(0 reviews)

Update Loan Simulation

Description: This endpoint is used to update loan simulation based on the below json request.

Mulesoft Request:

Headers:

Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization

Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id

Paramaters:

URI Params: Na

Query Params: NA

Content-type: application/json

Mulesoft Request:

To use the service to update a Loan , we need to send the transactionRef and the arrangement value should be as below.

{

 "transactionRef":"AASIM210390TVS4KC4",

  "arrangement": "AA210390V6JK",

  "activity": "LENDING-NEW-ARRANGEMENT",

  "customer": "2000248",

  "product": "CBOJ.PL.JODI.LOAN",

  "currency": "JOD",

  "amount": "15000",

  "term": "6M",

  "maturityDate": "",

  "purposeFacility": "100",

  "payinAccount": "4000921",

  "payoutAccount": "4000921",

  "fixedRate": "",

  "interestKey": "",

  "marginOper": "ADD",

  "marginRate": "1",

  "penaltyMarginOper": "ADD",

  "pentlyMarginRate": "2",

  "paymentStartDate":"",

  "paymentFreq":"",

  "repaymentAmount":"",

  "commissionRate":"0.72",

  "primaryOfficer":"21100"

}

Mulesoft Response

{

    "status": {

        "success": true,

        "code": "200",

        "arabicMessage": "تمت العملية بنجاح",

        "englishMessage": "The Operation has been Successfully Completed"

    },

    "response": {

        "transactionRef": "AASIM210390TVS5XDC",

        "arrangement": "AA210390V6JK",

        "activity": "LENDING-NEW-ARRANGEMENT",

        "effectiveDate": "20210208",

        "owner": "OWNER",

        "tradeDate": "20210208",

        "product": "CBOJ.PL.JODI.LOAN",

        "currency": "JOD",

        "initiationType": "USER",

        "masterAAA": "AASIM210390TVS5XDC",

        "amount": "15000",

        "term": "6M",

        "purOfFacility": "100",

        "restructure": "NO",

        "percentage": "0",

        "startDate": "20210208",

        "marginOper": "ADD",

        "marginType": "SINGLE",

        "marginRate": "1",

        "rateTireType": "SINGLE",

        "payinAccount": "4000921",

        "payoutAccount": "4000921",

        "fixedAmount": "0",

        "primaryOfficer": "21100",

        "chargeRate": "0.00"

    }

}

Reviews